package cn.gx.learn.security_boot_jwt_websocket;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@EnableAsync
//只扫描根包就会报错，指定mapper包就不会，为何？
@MapperScan({"cn.gx.learn.security_boot_jwt_websocket.base.dal.mysql",
            "cn.gx.learn.security_boot_jwt_websocket.aop.dal.mapper",
            "cn.gx.learn.security_boot_jwt_websocket.appiontment.dal.mysql",
            "cn.gx.learn.security_boot_jwt_websocket.websocket_origin.dal.mysql"}
                )
public class SecurityBootJwtWebsocketApplication {

    public static void main(String[] args) {
        SpringApplication.run(SecurityBootJwtWebsocketApplication.class, args);
    }

}
